package com.ask.threadcase1;

public class Main {
    public static void main(String[] args) {
        ThreadDemo t1 = new ThreadDemo(3);
        ThreadDemo t2 = new ThreadDemo(2);
        t1.setName("线程1");
        t2.setName("线程2");
        t1.start();
        t2.start();
    }
}
